package com.library.common.constant;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: xyh
 * @create: 2023-10-01
 **/
public class CacheTimeConstant implements Serializable {
    @Serial
    private static final long serialVersionUID = 9030730160407626660L;

    /**
     * 验证码有效期5分钟
     */
    public static final Long verifyCodeTime = 5L;

    /**
     * JWT的过期时间1小时(毫秒)
     */
    public static final Long tokenExpiration = 3600000L;

    /**
     * 短信验证码有效期1分钟
     */
    public static final Long smsVerifyCodeTime = 1L;
}
